package controller
{
	import model.proxy.*;
	
	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.patterns.command.SimpleCommand; 
	
	public class ModelPrepCommand extends SimpleCommand 
	{ 
		
		//public static const NAME : String = 'SimpleCommand'; 
		
		/** 
		 * Controller 
		 */ 
		public function ModelPrepCommand() 
		{ 
			super(); 
		} 
		
		/** 
		 * Execute register of model/proxy application elements 
		 */ 
		override public function execute(note : INotification) : void 
		{ 
			facade.registerProxy(new ApplicationProxy());
			facade.registerProxy(new FormationProxy());
			facade.registerProxy(new GroupeProxy());
			facade.registerProxy(new LoginProxy());
			facade.registerProxy(new SeanceProxy());
			facade.registerProxy(new EdtProxy());
			facade.registerProxy(new EnseignementProxy());
			facade.registerProxy(new AnneeEtudeProxy()); 
			facade.registerProxy(new SalleProxy()); 
			facade.registerProxy(new SemestreProxy());
			facade.registerProxy(new EnseignantProxy());
			facade.registerProxy(new ProfilEnseignantProxy());
			facade.registerProxy(new DroitUtilisateurProxy()); 
			facade.registerProxy(new ServiceProxy());
			facade.registerProxy(new AnneeUniversitaireProxy());
		} 
	}
}